import Vue from 'vue'
import App from './App'
import ElementUI from 'element-ui'
import { Message } from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import router from './routes'
import './permission'
import "babel-polyfill"
import store from './vuex/store'

// import Mock from './mock'
// Mock.bootstrap();
import service from './http'

Vue.prototype.http = service;

import 'font-awesome/css/font-awesome.min.css'


Vue.prototype.$message = Message;

Vue.use(ElementUI)


new Vue({
  //el: '#app',
  //template: '<App/>',
  router,
  store,
  render: h => h(App)
}).$mount('#app')

